home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
256pbx.exe
/
ERRORS.H
< prev
next >
Wrap
Text File
|
1991-10-07
|
2KB
|
39 lines
enum {
ERR_MIN = 0, // All error #s >= this value
ERR_NOT_DIB = 0, // Tried to load a file, NOT a DIB!
ERR_MEMORY, // Not enough memory!
ERR_READ, // Error reading file!
ERR_LOCK, // Error on a GlobalLock()!
ERR_OPEN, // Error opening a file!
ERR_CREATEPAL, // Error creating palette.
ERR_GETDC, // Couldn't get a DC.
ERR_CREATECHILD, // Error creating MDI child.
ERR_CREATEDDB, // Error create a DDB.
ERR_STRETCHBLT, // StretchBlt() returned failure.
ERR_STRETCHDIBITS, // StretchDIBits() returned failure.
ERR_NODIBORDDB, // Error painting -- need BOTH DDB & DIB.
ERR_SETDIBITSTODEVICE, // SetDIBitsToDevice() failed.
ERR_STARTDOC, // Error calling StartDoc().
ERR_NOGDIMODULE, // Couldn't find GDI module in memory.
ERR_SETABORTPROC, // Error calling SetAbortProc().
ERR_STARTPAGE, // Error calling StartPage().
ERR_NEWFRAME, // Error calling NEWFRAME escape.
ERR_ENDPAGE, // Error calling EndPage().
ERR_ENDDOC, // Error calling EndDoc().
ERR_ANIMATE, // Only one DIB animated @ a time.
ERR_NOTIMERS, // No timers avail for pal animation.
ERR_NOCLIPWINDOW, // Now current window for clipboard.
ERR_CLIPBUSY, // Clipboard is busy.
ERR_NOCLIPFORMATS, // During paste can't find DIB or DDB.
ERR_SETDIBITS, // Error calling SetDIBits().
ERR_FILENOTFOUND, // Error opening file in GetDib()
ERR_WRITEDIB, // Error writing DIB file.
ERR_MAX // All error #s < this value
};
void DIBError (int ErrNo);